<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let blc = prompt('请输入银行卡余额')
        let bld = prompt('请输入当月食宿费')
        let ble = prompt('请输入当月生活费')
        function js(a,b,c){
            blf=a-b-c
            return blf
        }
        let str = js(blc,bld,ble)
        alert(str)
    </script>
</body>
</html>